﻿<%@ Page Language="C#" MasterPageFile="~/Frame.Master" AutoEventWireup="true" CodeBehind="fmDriverAddForm.aspx.cs"
    Inherits="Auto.BusMan.AddForm.fmDriverAddForm" Title="驾驶员增加单" %>

<%@ Register Assembly="Auto.WebControls" Namespace="Auto.WebControls" TagPrefix="ComboBox" %>
<%@ Register Assembly="Auto.Web.Common" Namespace="Auto.Web.Common" TagPrefix="cc1" %>
<%@ Register Src="ucFileShow.ascx" TagName="ucFileShow" TagPrefix="uc1" %>
<%@ Register Src="../UserControl/ucKeepSubDivLabel.ascx" TagName="ucKeepSubDivLabel"
    TagPrefix="uc2" %>
<%@ Register Src="../UserControl/ucPhraseLabel.ascx" TagName="ucPhraseLabel" TagPrefix="uc3" %>
<%@ Register Src="../UserControl/ucPhraseListBox.ascx" TagName="ucPhraseListBox"
    TagPrefix="uc4" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHeader" runat="server">
<style type="text/css">
        table
        {
            border: 1px solid #B1CDE3;
            padding: 0;
            margin: 0 auto;
            border-collapse: collapse;
        }
        .table
        {
            border: 0px solid black;
            padding: 0;
            margin: 0 auto;
            border-collapse: collapse;
        }
        td
        {
            border: 1px solid black;
            background: #fff;
            font-size: 12px;
            padding-left:10px;
            color: black;
            border-collapse: collapse;
        }
        .td
        {
            /*border: 1px solid #B1CDE3;*/
            background: #fff;
            font-size: 12px;
            padding: 0;
            color: Black;
            border-collapse: collapse;
            border-bottom: 0;
            border-top: 0;
        }
    </style>
    <script language="Javascript" type="text/javascript">
        function preview() {
            bdhtml = window.document.body.innerHTML;
            sprnstr = "<!--startprint-->";
            eprnstr = "<!--endprint-->";
            prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
            prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
            window.document.body.innerHTML = prnhtml; window.print();
        }
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <table align="center" style="width: 700px; height:900px; margin-top: 10px;">
        <tr>
            <td colspan="3" style="text-align: center; font-weight: bold;">
                &nbsp;驾驶员个人信息
            </td>
        </tr>
        <tr>
            <td style="width: 50px;">
                1&nbsp;
            </td>
            <td style="width: 150px;">
                单位名称
            </td>
            <td>
                <asp:Label ID="lblCompanyName" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                2
            </td>
            <td>
                驾驶员姓名<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblDriverName" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                3
            </td>
            <td>
                驾驶员照片<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <uc1:ucFileShow ID="ucDriverPicPicFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                4
            </td>
            <td>
                性别<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblSex" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                5
            </td>
            <td>
                出生日期 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblBirthDay" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                6
            </td>
            <td>
                家庭住址 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblFamilyAddress" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                7
            </td>
            <td>
                手机号码 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblCellPhone" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                8
            </td>
            <td>
                家庭电话
            </td>
            <td>
                <asp:Label ID="lblHomePhone" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                9
            </td>
            <td>
                身份证号码 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblIDCardNO" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                10
            </td>
            <td>
                驾驶证种类 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblDrivingLicenseType" runat="server" Visible="False"></asp:Label>
                <uc4:ucPhraseListBox ID="ucPhraseListBox1" runat="server" Enabled="true" PhraseClass="BMDrivingLicenseType" />
            </td>
        </tr>
        <tr>
            <td>
                11
            </td>
            <td>
                驾驶证取得日期 <b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblDrivingLicenseGetDate" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                12
            </td>
            <td>
                车辆牌号<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <asp:Label ID="lblBusIdentificationNO" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                13
            </td>
            <td>
                工作单位<b><span style="color: red">＊</span>
            </td>
            <td>
                <uc2:ucKeepSubDivLabel ID="lblWorkCompany" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                14
            </td>
            <td>
                专／兼职驾驶<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <uc3:ucPhraseLabel ID="lblWorkType" runat="server" PhraseClass="BMWorkType" />
            </td>
        </tr>
        <tr>
            <td>
                15
            </td>
            <td>
                身份证<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <uc1:ucFileShow ID="ucIDCardNOPicFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                16
            </td>
            <td>
                驾驶证<b><span style="color: red">＊</span></b>
            </td>
            <td>
                <uc1:ucFileShow ID="ucDrivingLicenseFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                17
            </td>
            <td>
                从业资格证
            </td>
            <td>
                <uc1:ucFileShow ID="ucOperationCertificateFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                18
            </td>
            <td>
                特种作业证
            </td>
            <td>
                <uc1:ucFileShow ID="ucSpecialCertificateFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                19
            </td>
            <td>
                派出所证明
            </td>
            <td>
                <uc1:ucFileShow ID="ucPoliceStationCertificateFileShow" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                20
            </td>
            <td>
                劳动用工合同
            </td>
            <td>
                <table style="width: 100%;" class="table">
                    <tr>
                        <td class="td" style="width: 40%;">
                            <asp:Label ID="lblContractDate" runat="server"></asp:Label>
                        </td>
                        <td class="td" style="width: 40%;">
                            周 期(月)
                        </td>
                        <td class="td" style="width: 30%;">
                            <asp:Label ID="lblContractCycle" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                21
            </td>
            <td>
                安全协议
            </td>
            <td>
                <table style="width: 100%" class="table">
                    <tr>
                        <td class="td" style="width: 40%;">
                            <asp:Label ID="lblSecurityAgreementDate" runat="server"></asp:Label>
                        </td>
                        <td class="td" style="width: 40%;">
                            周 期(月)
                        </td>
                        <td class="td" style="width: 30%;">
                            <asp:Label ID="lblSecurityAgreementCycle" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="3" style="text-align: center">
                <%--<input type="button" name="print" value="预览并打印" onclick="preview()"/>--%>
                <input type="button" value="   打     印   " onclick="javascript:window.print()"/>
                <asp:Button ID="btnPrintAll" runat="server" Text="查看打印全部(含附件)" OnClick="btnPrintAll_Click" />
                
            </td>
        </tr>
    </table>
</asp:Content>
